DX11 GET IMAGE PIXEL BUFFER POINTER

Retrieves a pointer to the pixel buffer of the specified image.
The data stored in the buffer corresponds to the pixel format of the image. You can get the full size of the pixel buffer using the DX11 GET IMAGE PIXEL BUFFER SIZE function.
Take note that the specified image must be locked for this function to succeed..

  Syntax
Return Dword = DX11 GET IMAGE PIXEL BUFFER POINTER(img)
  Parameters
img
Dword
The image to retrieve the pixel buffer pointer of.

  Returns

A pointer to the pixel data of the locked image, or nullptr if the specified image isn't locked when this function is called.

  See also

IMAGE Functions Menu
DX11 Function Categories